﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Animal
    {
        public string eat;
        private string name;

        public string Name { get => name; set => name = value; }
        public void PrintEat()
        {
            Console.WriteLine("我是{0}，我不仅会吃！", this.Name);
        }
    }
}
